<?php
declare(strict_types=1);

namespace App\Model\BbcModel;

use App\Model\BaseModel\BaseBbcModel;
class CashManager extends BaseBbcModel
{
    public $table = 'ly_b_manager';

    public function last_time()
    {
        return $this->hasOne(Cashcheck::class)->orderBy('id','desc')->value('last_time');
    }
}